#include "myhead.h" 
#include "def.h"
void delFile(char* params[], int paramNumber)
{
	if (paramNumber!=2)
	{
		printf(helpStr);
	}
	else
	{
		if (access(params[1], F_OK)<0)
		{
			printf("The file %s does not exist\n", params[1]);
		}
		else
		{
			if (unlink(params[1])<0)
			{
				printf("cannot delete file %s\n", params[1]);
			}
		}
	}
}